<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ include file="/header" %>
    
<div id="queryForm">
    <p>Enter some keywords to perform a simple query.</p>
    <form action="<%=siteRoot%>/query" method="get">
        <input type="text" name="query" value="" alt="Enter your query" title="Enter a query" />
        <select name="n" alt="Show the first n documents" title="Show the first n documents">
            <option value="1" /> 1
            <option value="2" /> 2
            <option value="3" /> 3
            <option value="4" /> 4
            <option value="5" selected /> 5
            <option value="6" /> 6
            <option value="7" /> 7
            <option value="8" /> 8
            <option value="9" /> 9
            <option value="10" /> 10
        </select>
        <input type="image" id="querySubmitIcon" src="<%=siteRoot%>/query/query.png" alt="Find relevant documents" title="Find relevant documents" />
    </form>
    Or <a href="<%=siteRoot%>/train">input a new training query</a>.
</div>
    
<%@ include file="/footer" %>
